package patternmining.model.graph.java;

import patternmining.model.graph.Edge;
import patternmining.model.graph.bpsl.BpslDefined_In;

public class JavaMethodDefinition extends JavaMemberDeclaration {

    public JavaMethodDefinition(JavaEntity origin, JavaEntity destination){
        super(origin, destination);
    }

    public String toString(){
        return super.toString();
    }
    
    @Override
    public boolean match(Edge otherEdge){
        return otherEdge instanceof BpslDefined_In;
    }
}
 
